#include "DriveJoy.h"

DriveJoy::DriveJoy() 
{
	Requires(chassis);
	SetTimeout(0.5);
	printf("DriveJoy::DriveJoy\n");
}
void DriveJoy::Initialize()
{
	
}
void DriveJoy::Execute()
{
	printf("Drive exec.\n");
	chassis->driveJoystick(oi->getJoystick());
}
bool DriveJoy::IsFinished()
{
	return IsTimedOut();
}
void DriveJoy::End()
{
	
}
void DriveJoy::Interrupted()
{
	
}
